package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Saleorder;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ISaleorderService {
    void deleteByPrimaryKey(Long id);

    void saveOrUpdate(Saleorder record);

    Saleorder selectByPrimaryKey(Long id);

    List<Saleorder> selectAll();

    // 分页
    PageResult query(QueryObject qo);


    // 审核
    void audit(Long id);


    List<HashMap<String, Object>> selectSaleAnalyzeList();

    List<HashMap<String,Object>> selectMemberPurchaseRecord(QueryObject qo);
}
